import React, { Component } from 'react'
import { DatePicker } from 'antd'

export default class AntSelect extends Component {
    render() {
        const { TimeOk, title, value } = this.props

        return (
            <>
                <span>{title} </span>
                <DatePicker showTime onOk={TimeOk} placeholder={value} key={value} style={{
                    width: 200,
                }} />
            </>
        )
    }
}